package solutions;

import java.util.List;

import org.pi4.locutil.io.TraceGenerator;
import org.pi4.locutil.trace.TraceEntry;

public class FingerPrintingKNN extends BasePositioner {

	public FingerPrintingKNN(TraceGenerator tg, List<Double> differences, int k) {
		this.tg = tg;
		this.differences = differences;
		this.k = k;
	}

	@Override
	public void buildRadioMap(List<TraceEntry> offlineentries) {
		for (TraceEntry entry : offlineentries) {
			offlineEntries.add(new EntryWithMACsAndAverages(entry));
		}
	}

	@Override
	public List<EntryWithMACsAndAverages> getRadioMap() {
		return offlineEntries;
	}
}
